﻿//using MiniFox.Caching;
//using MiniFox.Components;
//using MiniFox.Platform.Applications;
//using MiniFox.Platform.Applications.Auth;
//using MiniFox.Platform.File.Models;

//namespace Dispatcher.Core
//{
//    [AutoRegister, SpareComponent(typeof(AttachmentService))]
//    public class AttachmentService : ApiServiceBase
//    {
//        public AttachmentService(SystemPrincipal principal) : base(principal)
//        {

//        }
//        /// <summary>
//        /// 
//        /// </summary>
//        /// <param name="batchId"></param>
//        /// <param name="fileDatas"></param>
//        public virtual void PresaveAttachments(string batchId, IEnumerable<FileData> fileDatas)
//        {
//            CacheService.AddCacheObject(batchId, fileDatas);
//        }
//    }
//}
